<?php

if($_COOKIE['rimmertapp'] != md5(RimmerT))
{
	header("Location: login.php");
}

//error_reporting(E_ALL);
error_reporting(E_NONE);

define("MODEL_DEFAULT_LIMIT", 50);

//include("class.exceptions.php");
include("func.common.php");

//autoload function
function __autoload ($sClass) {
	include("class.".$sClass.".php");
}

$aCfg = Array(
	'host'			=> 'localhost',
	'user'			=>'root', 
	'pass'			=>'', 
	'persistancy'	=> true,
	'database'		=>'rimmertapp'
);
$dbSocket = new dbSocket($aCfg);
	
?>
